<template>
	<web-view :src="url"></web-view>
</template>

<script>
	export default {
		data() {
			return {
				url: ''
			}
		},
		onLoad(options) {
      uni.setNavigationBarTitle({
        title: '直播' // 设置为你想要显示的标题文本
      })
      // 从跳转参数中获取URL
      console.log(options)
      console.log(decodeURIComponent(options.url))
      this.url = decodeURIComponent(options.url)
    },
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
</style>
